package com.ftwj.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
public class SystemApplication extends SpringBootServletInitializer {

	public static void main(String[] args) {
//	    System.setProperty("spring.devtools.restart.enabled", "false"); //关闭热部署
		SpringApplication.run(SystemApplication.class, args);
	}

	@Override  
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {  
	    return application.sources(SystemApplication.class);  
	} 

}
